<?php

declare(strict_types=1);
/**
 * This file is part of habo_new_media.
 *
 * @link     https://www.berlen.cn/
 * @contact  tech@berlen.cn
 * @license  http://gitlab.rehou.cn/habo/habo_new_media/-/blob/master/README.md
 */
namespace app\enum;

class BatchProjectEnum
{
    # 搭建状态-成功
    public const STATUS_SUCCESS = 1;

    # 搭建状态-待执行
    public const STATUS_WAIT = 0;

    # 搭建状态-部分成功
    public const STATUS_FAIL = 2;

    # 状态类型
    public const STATUS_STR = [
        self::STATUS_WAIT => '搭建中',
        self::STATUS_SUCCESS => '创建成功',
        self::STATUS_FAIL => '部分成功',
    ];

    # 计划层级
    public const LEVEL_CAMPAIGN = 1;

    # 组层级
    public const LEVEL_UNIT = 2;

    # 创意层级
    public const LEVEL_CREATIVE = 3;

    # 视频选择方式-自选
    public const KS_VIDEO_CHOICE_SELF = 1;

    # 视频选择方式-优选
    public const KS_VIDEO_CHOICE_GOOD = 2;

    # 视频选择方式-随机
    public const KS_VIDEO_CHOICE_RANDOM = 3;

    # 搭建状态-结构体成功
    public const PROJECT_STATUS_CONTENT_SUCCESS = 1;

    # 搭建状态-失败
    public const PROJECT_STATUS_CONTENT_FALSE = -1;
}
